
@designWidth: 1920;

@designHeight: 1080;

.px2vw(@name, @px) {
    @{name}: (@px / @designWidth) * 100vw;
}

.px2xh(@name, @px) {
    @{name}: (@px / @designHeight) * 100vw;
}

.px2font(@px) {
    font-size: (@px / @designHeight) * 100vh;
}